package com.xinzhi.savingpot.rminfo.mapper;

import com.xinzhi.savingpot.userinfo.entity.UserInfo;

import java.math.BigDecimal;
import java.util.List;

public interface IMasterUpdateMapper {

    /**
     * 悬赏主 余额 / 保证金 更新
     * @param userNumber
     * @return
     */
    int updateWithdrawal(Integer userNumber, BigDecimal moeny);

    /**
     * 充值保证金
     * @param userNumber
     * @param moeny
     * @return
     */
    int addMargin(Integer userNumber, BigDecimal moeny);
}
